﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MediaGarden.Formats;

namespace MediaGarden.Audio.Formats
{
    public class OggVorbisFormat : MimeMediaFormat
    {
        public override string FormatName
        {
            get { return "OggVorbis"; }
        }

        public override string FormatDisplayName
        {
            get { return "Ogg Vorbis Audio"; }
        }

        public override string MediaStereotype
        {
            get { return "Audio"; }
        }

        public override IEnumerable<string> FileExtensions()
        {
            return new[] { "ogg", "oga" };
        }

        public override IEnumerable<string> MimeTypes()
        {
            return new[] {
                "audio/ogg",
                "audio/vorbis",
                "application/ogg",
            };
        }
    }
}